package com.ruoyi.common.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加路径坐标请求模型")
public class AddRouteAxesReq {

    @NotBlank(message = "路径坐标经度不能为空")
    @ApiModelProperty(value = "经度", required = true)
    private String longitude;

    @NotBlank(message = "路径坐标纬度不能为空")
    @ApiModelProperty(value = "纬度", required = true)
    private String latitude;

    @NotNull(message = "路径坐标顺序不能为空")
    @ApiModelProperty(value = "顺序", required = true)
    private Integer sort;

}
